package com.flyou.service;



import com.flyou.dao.UserDao;
import com.flyou.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;

    @Override
    public User queryUserById(Long id) {
        return userDao.selectById(id);
    }
}
